package com.znsd.exam.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.znsd.entitys.Subjectinfo;
import com.znsd.exam.dao.SubjectDaoPan;
import com.znsd.exam.service.SubjectServicePan;

@Service
public class SubjectServiceImplPan implements SubjectServicePan{
	@Autowired
	private SubjectDaoPan subjectDaoPan;
	
	@Override
	public Integer getAll(Integer specialtyId) {
		return subjectDaoPan.getAll(specialtyId);
	}

	@Override
	public List<Subjectinfo> getStatisticalScore(Map<String, Object> map) {
		return subjectDaoPan.getStatisticalScore(map);
	}

	@Override
	public List<Subjectinfo> getin(List<Integer> list) {
		return subjectDaoPan.getIn(list);
	}
}
